package com.wengu.nacos.service;

import com.wengu.nacos.bean.Movie;
import com.wengu.nacos.mapper.MovieMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LoserJohn
 * @create 2020-09-01 19:44
 */
@Service
public class MovieService {
    @Autowired
    MovieMapper movieMapper;
    public Movie getMovie(Integer id) {
       return movieMapper.getMovie(id);
    }
}
